package com.yidu.king.service;

import com.yidu.king.controller.vo.PersonFeiziVo;
import com.yidu.king.domain.PersonFeizi;
import com.yidu.king.utils.BaseMessage;

import java.util.List;

/**
 * <p>@author yidu-xia</p>
 * <p>@Date: 2021/1/13</p>
 * <p>@Time: 16:30</p>
 * <p>@Description: </p>
 */
public interface PersonFeiziService {
    /**
     * 查询人员
     * @param vo
     * @return
     */
    List<PersonFeiziVo> selectAll(PersonFeiziVo vo);

    /**
     * 查询行数
     * @param vo
     * @return
     */
    int selectCount(PersonFeiziVo vo);

    int deleteByPrimaryKey(Integer id);
//增加
    int insertSelective(PersonFeizi record);

    PersonFeiziVo selectByPrimaryKey(Integer id);
//修改
    int updateByPrimaryKeySelective(PersonFeizi record);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deleteAll(String ids);

    BaseMessage addOrUpdate (PersonFeiziVo personFeiziVo);
}
